package com.ruoyi.wisdom.domain.swap;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.data.annotation.Transient;

/**
 * 分组管理对象 iot_pick_group
 * 
 * @author ruoyi
 * @date 2025-02-11
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class SwapPickGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long id;

    /** 学校com_id */
    @Excel(name = "学校com_id")
    @JsonProperty("com_id")
    private Long comId;

    /** 分组名称 */
    @Excel(name = "分组名称")
    @JsonProperty("group_name")
    private String groupName;

    /** 分组类型：1年级分组、2班级分组、3人员分组 */
    @Excel(name = "分组类型：1年级分组、2班级分组、3人员分组")
    @JsonProperty("group_type")
    private Integer groupType;

    /** 年级ID，多个逗号隔开 */
    @Excel(name = "年级ID，多个逗号隔开")
    @JsonProperty("grade_id")
    private String gradeId;

    /** 班级ID，多个逗号隔开 */
    @Excel(name = "班级ID，多个逗号隔开")
    @JsonProperty("class_id")
    private String classId;

    /** 学生ID，多个学生ID逗号隔开 */
    @Excel(name = "学生ID，多个学生ID逗号隔开")
    @JsonProperty("student_id")
    private String studentId;

    /** 学生姓名，多个学生姓名逗号隔开 */
    @Excel(name = "学生姓名，多个学生姓名逗号隔开")
    @JsonProperty("student_name")
    private String studentName;

    /** 老师ID，多个老师ID逗号隔开 */
    @Excel(name = "老师ID，多个老师ID逗号隔开")
    @JsonProperty("teacher_uid")
    private String teacherUid;

    /** 闸机设备ID，多个设备逗号隔开 */
    @Excel(name = "闸机设备ID，多个设备逗号隔开")
    @JsonProperty("device_id")
    private String deviceId;

    /** 云屏设备ID，多个设备逗号隔开 */
    @Excel(name = "云屏设备ID，多个设备逗号隔开")
    @JsonProperty("screen_device_id")
    private String screenDeviceId;

    @Transient
    private String operate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setComId(Long comId) 
    {
        this.comId = comId;
    }

    public Long getComId() 
    {
        return comId;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setGroupType(Integer groupType) 
    {
        this.groupType = groupType;
    }

    public Integer getGroupType() 
    {
        return groupType;
    }
    public void setGradeId(String gradeId) 
    {
        this.gradeId = gradeId;
    }

    public String getGradeId() 
    {
        return gradeId;
    }
    public void setClassId(String classId) 
    {
        this.classId = classId;
    }

    public String getClassId() 
    {
        return classId;
    }
    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }

    public String getStudentId() 
    {
        return studentId;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setTeacherUid(String teacherUid) 
    {
        this.teacherUid = teacherUid;
    }

    public String getTeacherUid() 
    {
        return teacherUid;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setScreenDeviceId(String screenDeviceId) 
    {
        this.screenDeviceId = screenDeviceId;
    }

    public String getScreenDeviceId() 
    {
        return screenDeviceId;
    }

    public void setOperate(String operate){ this.operate = operate; }
    public String getOperate(){ return operate; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("comId", getComId())
            .append("groupName", getGroupName())
            .append("groupType", getGroupType())
            .append("gradeId", getGradeId())
            .append("classId", getClassId())
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("teacherUid", getTeacherUid())
            .append("deviceId", getDeviceId())
            .append("screenDeviceId", getScreenDeviceId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("operate", getOperate())
            .toString();
    }
}
